exports.technologyArticle = function (req, res) {

  var where = {};

  where.a_is_delete = 0;

  //查询问题列表
  db.field("a_id,a_title,a_create_time,a_read_count,a_tag").where(where).order("a_id desc").limit(0,1000).select("ed_article",function(rs){

    if(rs == 'ERROR'){
       console.log("数据查询失败");  
    }
    
    db.query("select a_tag from ed_article group by a_tag",function(tagRs){
      Render.viewRender(req,res,'technologyArticle',{title:"技术文章",listData:rs,tagData:tagRs})
    });

    

  })

  

}